<include file="Public:header" />
<include file="Public:leftside" />
<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i> <a href="/">首页</a> </li>
			<li><a href="javascript:;">商品属性管理</a></li>
		</ul>
	</div>
	<div class="page-content">
	<div class="row panel-body" style="width: 100%;margin: 5px auto;padding: 15px 0;">
        <a href="{:U('Shop/index')}" class="btn btn-sm btn-default">商品管理</a>
        <a href="{:U('Shop/ticketTypeList')}" class="btn btn-sm btn-default">商品分类</a>
        <a href="{:U('Shop/brandList')}" class="btn btn-sm btn-default">商品品牌</a>
        <a href="{:U('Shop/attributelist')}" class="btn btn-sm btn-primary">商品类型</a>

    </div>
     <section class="panel-default m-b-sm">
        <div class="alert alert-info">
            <p>
              <i class="fa fa-hand-o-right m-r-xs"></i><strong>操作提示</strong>
            </p>
            <p class="alert-p m-l-xl"><i class="fa fa-caret-right m-r-xs"></i>该页面可对商品属性添加修改操作。</p>
            
        </div>
     </section>
    <div class="web_form">
        <form action="__CONTROLLER__/configSave/" class="form form-horizontal" method="post">
            <input type="hidden" name="id" value="<?PHP echo $current['id'];?>" />
            <input type="hidden" name="type_id" value="<?=$type_id?>" />
            <div class="form-group">
						<label class="col-sm-1 control-label no-padding-right" for="title">名称:</label>
						<div class="col-sm-9">
							<input class="col-xs-10 col-sm-2" id="title" type="text" datatype="required" data="名称" name="title" value="<?=$current['title']?>"  />
						</div>
			</div>
            <div class="form-group">
						<label class="col-sm-1 control-label no-padding-right" for="content">配置属性:</label>
						<div class="col-sm-3">
							<textarea data="配置属性" class="col-xs-10 col-sm-2" name="content" style="padding: 4px 4px;width:100%;height:100px;" ><?=$current['content']?></textarea>
						</div>
						<div class="col-sm-5">
						属性之间用英文逗号隔开;例：中长款,短款,常规,长款
						</div>
			</div>
              <div class="form-group">
						<label class="col-sm-1 control-label no-padding-right" for="sort">排序:</label>
						<div class="col-sm-9">
							<input class="col-xs-10 col-sm-2" id="sort" type="text" name="sort" value="{$current['sort']|default='0'}"  />
						</div>
			</div>
            <div class="form-group">
				<label id="form-field-38" class="col-sm-1 control-label no-padding-right" for="is_write">手工输入:</label>
				<div class="col-sm-9">
					<div class="checkbox"  style="padding-top: 0px; background: transparent none repeat scroll 0px -17px;">
						<label>
						 <input class="ace" type="checkbox"  name="is_write" value="1" <?=$current['is_write']?'checked':''?> />
						 <span class="lbl"></span>
						</label>
			        </div>
				</div>
		</div>
            
            <div class="clearfix form-actions">
				<div class="col-md-offset-1 col-md-9">
					<button class="btn btn-info formSubmit" ajax="1" id="form" type="button"><i class="icon-ok bigger-110"></i>提交</button>
					&nbsp; &nbsp; &nbsp;
					<button class="btn" type="button" onclick="history.back(-1);"><i class="icon-undo bigger-110"></i>返回</button>
				</div>
		    </div>
            
        </form>
    </div>
  </div>
</div>
<include file="Public:footer" />